﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Default.Master" Inherits="System.Web.Mvc.ViewPage<WebStickyNotes.Models.EditTaskPriorityModel>" %>
<%@ Import Namespace="WebStickyNotes.Resources" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%= Labels.PageTitleEditPriority %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% using (Html.BeginForm()) {%>
        <fieldset>
            <legend><%= Labels.PageTitleEditPriority %></legend>
            <% Html.RenderPartial("Message", Model.Message); %>
            <%= Html.HiddenFor(model => model.Priority.Id) %>
            <p>
                <label><%= Labels.Title %><br>
                <%= Html.TextBoxFor(model => model.Priority.Title, new { style = "width: 30em;" }) %></label>
                <%= Html.ValidationMessageFor(model => model.Priority.Title) %>
            </p>
            <p>
                <label><%= Labels.Importance %><br>
                <%= Html.TextBoxFor(model => model.Priority.Importance) %></label>
                <%= Html.ValidationMessageFor(model => model.Priority.Importance) %>
            </p>
            <p>
                <input type="submit" value="Save" />
            </p>
        </fieldset>
    <% } %>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>

